import math

s = int(input("请输入一个正整数"))
factorial = math.factorial(s)
print(s, "的阶乘是：", factorial)
